﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 舵机调试工具
{
    internal class PortSetting
    {
        public string portName = "COM1";            //串口号
        public int BaudRate = 115200;               //波特率

        public string soverSetting = "";            //保存配置舵机动作信息的文件路径+名字
        public string soverSettingPath = "";        //文件路径

        public PortSetting() {
            //初始化到当前路径
            soverSettingPath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
        }
    }
}
